package com.xxx.client.android.api.impl;

import org.ksoap2.serialization.SoapObject;

import com.xxx.client.android.api.MenuVO;

public class MenuVOBuilder extends SOAPBuilder<MenuVO> {

	@Override
	public MenuVO build(SoapObject soapObject) throws RuntimeException {
		MenuVO vo = new MenuVO();
		vo.setMenuId(Integer.valueOf(soapObject.getProperty("menuId")
				.toString()));
		vo.setMenuName(soapObject.getProperty("menuName").toString());
		vo.setMenuId(Integer.valueOf(soapObject.getProperty("menuId")
				.toString()));
		vo.setIsShow(Integer.valueOf(soapObject.getProperty("isShow").toString()));
		vo.setMenuShowOrder(Integer.valueOf(soapObject.getProperty(
				"menuShowOrder").toString()));
		return vo;
	}

}
